for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import { MigrationInterface, QueryRunner } from "typeorm";
export class Migrations1716653153304 implements MigrationInterface {
name = 'Migrations1716653153304'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "project" ADD "disabled" boolean NOT NULL DEFAULT false`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "project" DROP COLUMN "disabled"`);